安装PostgreSQL
sudo apt-get update sudo apt-get install postgresql postgresql-contrib
卸载PostgreSQL
sudo apt-get purge 'postgresql-*' sudo apt-get autoremove 'postgresql-*'